﻿#ifndef INJECTORADDDIALOG_H
#define INJECTORADDDIALOG_H

#include <QDialog>
#include <QWidget>
#include <QtWidgets>
#include "../../include/injectordata.h"

class InjectorAddDialog : public QDialog
{
    Q_OBJECT
public:
    InjectorAddDialog();
    ~InjectorAddDialog();

    InjectorData getInjData();

private:
    void setup_ui();
    QLineEdit *name_ed,*pos_ed;
    QLineEdit* inj_period_ed, *comm_period_ed;
    QLineEdit* inj_vol_ed,*max_cur_ed,*min_vol_ed;
    QPushButton* okButton, *cancelButton;

private slots:
    void slt_okButton();
};

#endif // INJECTORADDDIALOG_H
